package com.haoran.dwz.repository;

import org.springframework.data.jpa.repository.JpaRepository;

import com.haoran.dwz.domain.entities.Role;

public interface RoleRepository  extends JpaRepository<Role,String>{

	Role findByName(String name);

	Role findByAuthority(String authority);

}
